#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 27 10:49:57 2018

@author: chenliheng
"""

# 输入3名同学成绩，求最高和最低分
scores = []
for i in range(1,4):
    score = input('请输入第%d名同学成绩'%i)
    scores.append(float(score))
# 使用list存储成绩
    
# max()和min()
print("最高分:%.1f,最低分:%.1f"%(max(scores),min(scores)))